/**
 * @author: yyq
 * @date: 2025年3月13日 14:26:34
 * @description: 
 */
package com.sheepone.monitor.server.handler.connect;

import io.netty.channel.Channel;

/**
 * @author: yyq
 * @date: 2025年3月13日 14:26:34
 * @description:
 */
public class ConnectionMeta {
    Channel channel;
    long lastHeartbeatTime;

    public ConnectionMeta(Channel channel) {
        this.channel = channel;
        this.lastHeartbeatTime = System.currentTimeMillis();
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }

    public long getLastHeartbeatTime() {
        return lastHeartbeatTime;
    }

    public void setLastHeartbeatTime(long lastHeartbeatTime) {
        this.lastHeartbeatTime = lastHeartbeatTime;
    }

}
